#latitude of the edges
latitude={0:['F','D'],1:['D','F'],2:['A','D','F'],
          3:['A','B','D','F'],
          4:['A','B','D','E'],
          5:['B','C','D','E'],
          6:['C','E']}
#longitude of the edges
longitude={0:['A','B'],
           1:['A','B'],
           2:['A','B'],
           3:['A','B'],
           4:['B','C','D'],
           5:['B','C'],
           6:['B','D'],
           7:['B','D'],
           8:['D','E','F'],
           9:['D','E','F'],
           10:['D','E']}
#return correct edges that coressponding to given latitude and longitude
def findEdge(lat,lon):
    latEdges=latitude[lat]
    lonEdges=longitude[lon]
    result= frozenset(latEdges).intersection(lonEdges)
    if len(result)>1:
        for i in result:
            print i
        
        return result
    return 'No edges'
    
